<template>
  <div id="app">
    <a href="/another">跳转到another页面</a>
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'app',
  created(){
    console.log(this.$route)
  }
}
</script>

<style>
#app {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);/* 开启gpu渲染 */
}

</style>

